07. SSH from Host
Basic SSH (Secure Shell) Protocol into the Jetson
To communicate with the Jetson from another computer, use the SSH protocol. With a simple command, a terminal will open, logging on to the Jetson system. Here are the steps:
- Determine the IP address of the Jetson
- From the host computer, log on with the ssh command
- Expand beyond the basic SSH terminal
1. Determine the Jetson IP address
On the Jetson system, open a terminal and enter:
$ ifconfig
If the Jetson is connected to the local network by ethernet, look for the address of eth0
. If it is by wifi, look for the address of wlan0
. The IP address should have a dot form something like 192.168.0.64
2. Log on from the Host
From the Ubuntu host, use the ssh username@ipaddress
command to log on as follows. Note that the two should be on the same network. use the IP address of the Jetson as found on your own system from the ifconfig
query.
$ ssh [email protected]
The Jetson password is required for the login.
3. Beyond Basic SSH
There is more you can do to connect with the Jetson beyond the basic terminal SSH. The method you set has some dependence upon your individual system and workflow. Here are some ideas and links to get you started:
- Add a secure key pair to the host and Jetson. This adds security and bypasses the need for a password at each login.
- Set up remote desktop sharing on Jetson and control desktop from another computer.
- Install a VNC server on the Jetson and remote in with a VNC Client